package cn.jobstart.service;

import cn.jobstart.modelExt.AdminJobExt;
import cn.jobstart.pubInter.exception.SkException;
import cn.jobstart.searchExt.AdminJobSearchExt;
import cn.jobstart.pubInter.IBaseService;

import java.util.List;


/**
*    @author sunke
*    @Date 2023-09-06 15:00:20
*    @description AdminJobService      员工职位
*/
public interface IAdminJobService extends IBaseService<AdminJobExt, AdminJobSearchExt,String> {


    /**
     * 修改职位负责人ID
     * @param adminJobId
     * @param adminIds
     * @param modAdminId
     * @param modAdminTruename
     * @throws SkException
     */
    void  modManager(String adminJobId, List<String> adminIds, String modAdminId, String modAdminTruename) throws SkException;
    /**
     * 生成编号
     * @return
     */
    String createNumberCode();

    /**
     * 查询
     * @param numberCode
     * @return
     */
    AdminJobExt getDetailByNumberCode(String numberCode);


    /**
     * 更新职位候选人数量
     * @param adminJobId
     * @param count
     */
    void updateCandidateTotalByAdminJobIdAndCount(String adminJobId,int count);





}